package UCM;

import Views.ViewDisplayCreateManager;

/**
 *
 * @author Joshua King
 */
public class UCDisplayCreateManager implements UCController {
    private ViewDisplayCreateManager view;

    /**
     * Initialises the view.
     * @param view
     */
    public UCDisplayCreateManager(ViewDisplayCreateManager view) {
        this.view = view;
    }

    /**
     * Precondition: user is logged in as admin
     * 1. Users clicks on the create manager button.
     * 2. System displays create manager view.
     * Postcondition: user is on create manager page.
     */
    public void run() {
        view.setCreateManagerVisible();
    }
}
